package com.lanou3g.ptp.service;

import com.lanou3g.ptp.entity.Approval;
import com.lanou3g.ptp.entity.Student;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface ApprovalService {

    //app学生接口
    Boolean studentApproval(String token,int type,String approval,String photo,Date start, Date over);

    //app查询
    Approval findApproval(String token);

    //老师页面显示所有
    List<Approval> approvalAll();

    //老师审核
    Boolean teacherApproval(String token,Long id,Long i);

    List<Approval> findByStudentId(Long studentId);

}
